function HandleDialogInput(gui, item, options) {
  this._gui = gui;
  this._item = item;
  this._options = options;
  
  this._default = (options && options.default) ? options.default : '';
  
  this._createElements();
};

HandleDialogInput.prototype._createElements = function() {
  var _self = this;
  
  this._item._text = '';
  
  this._gui.input.value = this._default;
  this._gui.input.onchange = function() { _self._item._text = this.value; };
};